/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package downloadmanager.event;

import downloadmanager.downloader.Downloader;
import downloadmanager.downloader.DownloadSegment;

/**
 *
 * @author Administrator
 */
public class SegmentEventArgs extends DownloaderEventArgs {

    private DownloadSegment segment;

    public SegmentEventArgs(Downloader d, DownloadSegment segment) {
        super(d);
        this.segment = segment;
    }

    public DownloadSegment getSegment() {
        return segment;
    }
}
